$(document).ready(function(){
	$('.menu').click(function(){
		var type=$(this).attr('id');
		var page ='';
		if(type == 'weather' || type=='city')
			page = 'data';
		else page = type;
		$.ajax({
			type : 'GET',
			data : {
				'type'	:	type
			},
			dataType : "html",
			url : 'jsp/'+page+'.jsp',
			complete : function(objeto, exito) { 
				if('success' == exito)
					$('section').html(objeto.responseText);
				
			}
		});
	});
	
	
	
});